package com.carambatv.android.model;

import android.net.Uri;

import com.carambatv.android.db.CarambaDBSchema;
import com.carambatv.android.db.RssColumns;

public class RssObject implements CarambaDBSchema {

	public static final Uri CONTENT_URI = BASE_CONTENT_URI.buildUpon().appendPath(Tables.RSS).build();
	public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.rss";
	public static final String DEFAULT_SORT = RssColumns._ID.getName() + " ASC";
	public static final String DATE_SORT = RssColumns.PUBDATE.getName() + " DESC";

	private int id;
	private String link;
	private String title;
	private long pubDate;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public long getPubDate() {
		return pubDate;
	}

	public void setPubDate(long pubDate) {
		this.pubDate = pubDate;
	}

}
